$this->debug( "$message\n" );
}
$entry =& $this->mCollated[$functionname];
-
+
$elapsedcpu = $this->getCpuTime() - $octime;
$elapsedreal = $this->getTime() - $ortime;
$entry['real'] += $elapsedreal;
$entry['real_sq'] += $elapsedreal*$elapsedreal;
$entry['count']++;
-
+
}
}
- function getFunctionReport() {
+ function getFunctionReport() {
/* Implement in output subclasses */
}
list($a,$b)=explode(" ",$time);
return (float)($a+$b);
}
-
+
function debug( $s ) {
if (function_exists( 'wfDebug' ) ) {
wfDebug( $s );